Skip to main content
请求

curl --location 'https://openapi.gs-robot.com/v2alpha1/robotCommand/tempTask:send'
--header 'Content-Type: application/json'
--header 'Authorization: Bearer {{token}}'
--data '{
"productId": "TEST00-0000-000-S039",
"tempTaskCommand": {
"taskName": "area1",
"cleaningMode": "清扫",
"loop": "true",
"loopCount": "1",
"mapName": "10f_cloud",
"startParam": {
"mapId": "2762e44d-8a90-11ee-8adf-4d6cf3b8dbc5",
"areaId": "area1"
}
}
}'
输出

{
"productId": "TEST00-0000-000-S039",
"requestId": "OpenApiV2:01HFY3YJNQFDVD6C7NDDY1DFK6:913379f72c5ccc1d418224c2b6bd0f87",
"orderType": "start_task",
"cmdStatus": 5,
"cmdResultCode": "6880"
}